<?php $view->extend('AnaAgendaBundle::layout.html.php') ?>
<?php $view['slots']->start('_assets') ?>        
        <?php foreach ($view['assetic']->stylesheets(array('angular-calendar/css/*','bootstrap/css/*')) as $url): ?>
            <link rel="stylesheet" href="<?php echo $view->escape($url) ?>" />
        <?php endforeach ?>
    
        <?php foreach ($view['assetic']->javascripts(array('angular-calendar/js/moment.js','angular-calendar/js/fullcalendar.js','angular-calendar/js/calendar.js','angular-calendar/js/gcal.js','bundles/js/calendario.js'),array(),
                   array('output' => 'js/compiled/js.js')) as $url): ?>
            <script src="<?php echo $view->escape($url) ?>"></script>
        <?php endforeach ?>
<?php $view['slots']->stop() ?>    

<div>
    <div ng-controller="CalendarioCtrl">
        <div class="calendar" ng-model="eventSources"  ui-calendar="uiConfig.calendar"   >
        </div>
    </div>
</div>